#pragma once

namespace winboost{
   namespace detail {

class string_converter
{
public:

#ifdef _UNICODE
   static std::wstring to_wstr(const std::wstring s)
   {
      std::wstring ws(s);
      return ws;
   }
#else
   static std::wstring to_wstr(const std::string s)
   {
      std::wstring ws;
      ws.assign(s.begin(), s.end());
      return ws;
   }
#endif
};

   }
}
